
<!DOCTYPE html>
<html>
<head>
	<title>节假日管理页面</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script type="text/javascript">
		var path = window.document.location.href;
		var pathName = window.document.location.pathname;
		var hostPath = path.substring(0, path.indexOf(pathName));
		var projectName = pathName.substring(0, pathName.substr(1).indexOf("/") + 1);
		document.write('<scr' + 'ipt src="' + projectName + '/js/html/header.js"></scr'+'ipt>');
		// document.write('<scr' + 'ipt src="' + projectName + '/js/calender_matter.js"></scr'+'ipt>');
	</script>
	<link href="../../../css/calendar_matter.css" type="text/css" rel="stylesheet">
	<link href="../../../css/amazeui.min.css" type="text/css" rel="stylesheet">

</head>

<body>

<!-- 系统选择下拉框 -->
<div style="padding-top:10px">
	<select data-am-selected="btnWidth:'40%',btnSize:'sm',btnStyle:'secondary'" id="sysCalendarId" style="width:250px;height:25px;line-height:40px;font-size: 15px;" >
	</select>
	<button type="button" class="am-btn am-btn-primary" onclick="openEditControl();" id="openEditBtn">编辑</button>
	<button type="button" class="am-btn am-btn-primary" onclick="saveEditButton();" id="saveEditBtn">保存</button>
	<!--	<button type="button" class="am-btn am-btn-primary" onclick="exportCalendarForExcel();">导出Excel</button>-->
	<!--	<button type="button" class="am-btn am-btn-primary" onclick="exportCalendarForTxt();">导出TXT</button>-->
	<!--	<button type="button" class="am-btn am-btn-primary" style="display:none" onclick="makeData()" id="makeDataBtn">生成数据</button>-->
	<!--<button type="button" class="am-btn am-btn-primary" onclick="sendData()" id="sendDataBtn">发送数据</button>-->
	<!--<button type="button" class="am-btn am-btn-primary" id="calendarStati">节假日分类统计</button> -->
	<!--	<button type="button" class="am-btn am-btn-primary" id="selsyn" onclick="synNCBSYear()">同步核心假日</button>-->
	<button type="button" class="am-btn am-btn-primary" id="sumdays" onclick="sumHolidayDays()">节假日天数统计</button>
	<input  type="text" id="applyId" value=""  hidden="true">
	<input  type="text" id="pubId" value=""  hidden="true">
</div>
<div id="div1"></div>
<!--节假日分类统计-->
<div class="am-modal am-modal-no-btn  hd_info_modal" tabindex="-1" id="calendar-modal-2">
	<div class="am-modal-dialog radius">
		<div class="am-modal-hd">节假日分类统计
			<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
		</div>

		<div class="am-modal-bd">
			<div class="am-margin-sm">
				<form action="" class="am-form am-form-inline" id="model"   name="form1">
					<div class="hd-work-type" style="width:100px;heigth:30px;padding:0px">
						<label class="hd-type-label-info" >非周末：</label>
						<div class="stone"></div>
					</div>
					<div class="hd-work-date ol"  >
						<ul  id="no_sun_sat_day" >
						</ul>
					</div>
					<div class="stone"></div>
				</form>
			</div>
		</div>
	</div>
</div>

<!--事项维护-->
<div class="am-modal am-modal-no-btn  hd_info_modal" tabindex="-1" id="calendar-modal-1">
	<div class="am-modal-dialog radius">
		<div class="am-modal-hd">事项维护
			<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
		</div>
		<div class="am-modal-bd">
		</div>
		<div class="am-modal-bd">
			<div class="am-margin-sm">
				<form action="" class="am-form am-form-inline">
					<div class="hd-work-type">
						<div class="hd-work-block">
							<label class="hd-type-label" >类型:</label>
							<div class="hd-type-select">
								<select data-am-selected class="am-u-sm-10" id="hd-type-option">
									<option value="workday" selected>工作时间</option>
									<option value="freeday" >非工作日</option>

								</select>
							</div>
						</div>
						<div class="stone"></div>

					</div>
					<div class="hd-work-date">
						<div class="hd-work-block">
							<label for="hd-start-date" class="am-form-label">时间:</label>
							<div class="am-form-group am-form-icon">
								<i class="am-icon-calendar"></i>
								<input id="hd-start-date" type="text" class="am-form-field" placeholder="开始日期" data-am-datepicker readonly required>
							</div>
						</div>
						<div class="hd-work-block">
							<label for="hd-end-date" class="am-form-label">至</label>
							<div class="am-form-group am-form-icon">
								<i class="am-icon-calendar"></i>
								<input id="hd-end-date" type="text" class="am-form-field" placeholder="结束日期" data-am-datepicker readonly required>
							</div>
						</div>
					</div>
					<div class="hd-work-btns">
						<button type="button" class="am-btn am-btn-secondary" id="calendar_confirm_btn">添加</button>
						<button type="button" class="am-btn am-btn-secondary" id="calendar_confirm_btn">删除</button>
						<button type="button" class="am-btn am-btn-default" onClick="close_modal();">取消</button>
					</div>
					<div class="stone"></div>
				</form>
			</div>
		</div>
	</div>
</div>
</body>
<!--  导入日历使用js文件 -->
<!--<script src= "../../../js/jquery.min.js"></script>-->
<script src="../../../js/calendar_matter.js" charset="utf-8"></script>
<!--<script src="../../../js/jquery-ui.js" charset="utf-8"></script>-->

<onready elAuth="false">
	<viewport layout="fit">

	</viewport>
	<script type="text/javascript">
		user_conf_flag = '<c:out value="${user_conf_flag}" escapeXml="false"/>';//是否用户冲突标记
		user_conf_no = '<c:out value="${user_conf_no}" escapeXml="false"/>';
		/*日历*/
		loading_calendar("div1","cn");
	</script>
</onready>
</html>